#ifndef ADCMODULE_H
#define ADCMODULE_H

#include "devicelist.h"
#include "hj212.h"
namespace Moolink {

class ADCmodule : public QObject
{
    Q_OBJECT

public:

    enum protocolList{
        Error=0,
        ADAM40170020mA,
        ADAM40170420mA,
        ADAM40170010V,
        CH0,
    };


    Q_ENUM(protocolList)

    static QByteArray getReadCmd(Device *device,int funCode);
    //static QString getDataResultStr(QString protocol,int commAddr,QString recvData);
    static QString getDataResultStr(Device *device,QByteArray responseData);


signals:



public slots:



private:


};
}


#endif // ADCMODULE_H
